<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
    <style>
        .el-page-header__content{
            color: white;
            font-weight: bold;
        }
    </style>
</head>
<body>
<div id="app">
    <el-page-header style="background-color: #2b5c66;
            color: white;line-height: 60px" @back="goBack" content="采购单">
    </el-page-header>

    <el-card style="margin: 0 auto;width: 500px;height: 600px" >
        <el-form inline="true" label-position="right" label-width="80px">
            <el-form-item label="物品名称">
                <el-input type="text"></el-input>
            </el-form-item>
            <el-form-item label="供应商">
                <el-input type="text"></el-input>
            </el-form-item>
            <el-form-item label="规格">
                <el-input type="text"></el-input>
            </el-form-item>
                <el-form-item label="单价">
                <el-input type="text" placeholder="单位:￥"></el-input>
            </el-form-item>
            <el-form-item label="采购数量">
                <el-input type="text"></el-input>
            </el-form-item>
            <el-form-item label="实际金额">
                <el-input type="text"></el-input>
            </el-form-item>
            <el-form-item label="备注">
                <el-input type="textarea" style="width: 400px"></el-input>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" plain="true">修改</el-button>
            </el-form-item>
        </el-form>
    </el-card>
</div>
</body>
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function() {
            return {

            }
        },
        methods:{
            goBack(){
                history.back();//返回上一页面
            },
            handlePictureCardPreview(file) {
                this.dialogImageUrl = file.url;
                this.dialogVisible = true;
            }
        },

    })
</script>
</html>